package com.jwsoft.manager.common.vo.eduAddress;

import com.bifang.assistant.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author zhiyuan
 * @Date 2023/4/23 10:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduAddressKeysVO", title = "批量处理错误地址VO", description = "批量处理错误地址VO")
public class EduAddressKeysVO extends BaseVO {

    @Schema(name = "addressIds", title = "错误地址集合")
    private List<String> addressIds;

    @NotBlank(message = "地址前缀不能为空")
    @Schema(name = "areaNamePrefix", title = "地址前缀")
    private String areaNamePrefix;

    @Schema(name = "areaCode", title = "行政区划")
    @NotBlank(message = "行政区划不能为空")
    private String areaCode;

    @Schema(name = "streetCode", title = "所属街道")
    private String streetCode;
}
